package com.igoal.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class ErrorController {
	
	@RequestMapping("/error/505.html")
	public String show505(@RequestParam("page") String page, ModelMap modelMap){
		modelMap.addAttribute("page", page);
		return "views/505";
	}	
	
	@RequestMapping("/error/activate.html")
	public String activateAccountFailure(){
		return "error/activateAccountFailure";
	}
}
